package com.zfast.yugioh.mapper;

import com.zfast.forge.common.BaseMapper;
import com.zfast.yugioh.bo.CardBo;
import com.zfast.yugioh.model.Card;
import com.zfast.yugioh.model.User;
import com.zfast.yugioh.model.UserCard;

import java.util.List;

/**
 * 用户卡集
 *
 * @author zgn
 * @email 
 * @date 2022-06-09 10:10:33
 */
public interface UserCardMapper extends BaseMapper<UserCard> {

    List<UserCard> selectLikeUserCard(UserCard userCard);

    List<Card> findCardsByUserId(String userId);

    List<CardBo> findCardsByUser(User user);

    int updateUserCardNum(int id);
}
